package com.iussoft.gateway.filter;

/**
 * @description: 统一返回格式
 * @author: Hou Dayu
 * @date: Created in 2020/2/27
 */
public class Response {

    private String data;
    private String errorCode;
    private String errorMessage;

    public Response(){}

    public Response(String errorCode,String errorMessage,String data){
        this.errorCode = errorCode;
        this.errorMessage = errorMessage;
        this.data = data;
    }
    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }
}
